From: Florian Eckert Date: Thu, 27 Oct 2022 08:42:05 +0000 (+0200) Subject: luci-mod-network: remove uppercase for interface name in modal view X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=07367cb7638c62cc87e145c18e99f4fc01df9e84;p=project%2Fluci.git luci-mod-network: remove uppercase for interface name in modal view Unify the network name display as shown in the overview by removing the uppercase conversion. Signed-off-by: Florian Eckert (cherry picked from commit 6f470e0d7603e043f53adc9c6c2c89a3fb5a0476) --- diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js index 416ffb9d17..d5f9060114 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js @@ -488,7 +488,7 @@ return view.extend({ }; s.modaltitle = function(section_id) { - return _('Interfaces') + ' » ' + section_id.toUpperCase(); + return _('Interfaces') + ' » ' + section_id; }; s.renderRowActions = function(section_id) {